package cn.com.zal.cgweb.common.exception;

import javax.servlet.http.HttpServletRequest;


public class NoLoginException extends Exception {
	
	private String requestFullUrl = null;
	
	
	public NoLoginException(HttpServletRequest request) {
		
		StringBuffer urlBuffer = request.getRequestURL();
		String queryString = request.getQueryString();
		String fullPath = urlBuffer.toString() + queryString;
		this.requestFullUrl = fullPath;
		
	}
	
	public NoLoginException(String requestFullUrl) {
		this.requestFullUrl = requestFullUrl;
	}
	public String getUrl() {
		return requestFullUrl;
	}

	
	

	


	
}
